package noodlesscm;


import java.util.Vector;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


class InventoryList {

    Vector inventories = new Vector();


    public InventoryList() {
    }


    public Vector getInventories() {
        return inventories;
    }


    public void setInventories(Vector inventories) {
        this.inventories = inventories;
    }


    @Override
    public String toString() {
        StringBuffer buf = new StringBuffer();
        Vector vector = getInventories();

        for(int i = 0; i < vector.size(); i++)
        {
            buf.append(vector.get(i));
            buf.append('\n');
        }

        return buf.toString();
    }
}
